package com.zhongfl.crm.model.boss;

import lombok.Data;

import java.io.Serializable;

/**
 * 序列保存
 *
 * @author wangkun23
 * 不要使用更改方法生产流水号，请使用SequenceService
 */
@Data
public class Sequence implements Serializable {

    private String name;

    private int nextId;

    public Sequence() {

    }

    public Sequence(String name, int nextId) {
        this.name = name;
        this.nextId = nextId;
    }

}
